/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.vpc.model.v20160428;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.vpc.transform.v20160428.GetVSwitchCidrReservationUsageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
 * @author auto create
 * @version 
 */
public class GetVSwitchCidrReservationUsageResponse extends AcsResponse {

	private String requestId;

	private String nextToken;

	private Long totalCount;

	private Long maxResults;

	private List<VSwitchCidrReservationUsage> cidrReservationUsages;

	public String getRequestId() {
		return this.requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public String getNextToken() {
		return this.nextToken;
	}

	public void setNextToken(String nextToken) {
		this.nextToken = nextToken;
	}

	public Long getTotalCount() {
		return this.totalCount;
	}

	public void setTotalCount(Long totalCount) {
		this.totalCount = totalCount;
	}

	public Long getMaxResults() {
		return this.maxResults;
	}

	public void setMaxResults(Long maxResults) {
		this.maxResults = maxResults;
	}

	public List<VSwitchCidrReservationUsage> getCidrReservationUsages() {
		return this.cidrReservationUsages;
	}

	public void setCidrReservationUsages(List<VSwitchCidrReservationUsage> cidrReservationUsages) {
		this.cidrReservationUsages = cidrReservationUsages;
	}

	public static class VSwitchCidrReservationUsage {

		private String vSwitchCidrReservationId;

		private String vSwitchId;

		private String resourceId;

		private String resourceType;

		private String ipPrefixId;

		private String ipPrefixCidr;

		public String getVSwitchCidrReservationId() {
			return this.vSwitchCidrReservationId;
		}

		public void setVSwitchCidrReservationId(String vSwitchCidrReservationId) {
			this.vSwitchCidrReservationId = vSwitchCidrReservationId;
		}

		public String getVSwitchId() {
			return this.vSwitchId;
		}

		public void setVSwitchId(String vSwitchId) {
			this.vSwitchId = vSwitchId;
		}

		public String getResourceId() {
			return this.resourceId;
		}

		public void setResourceId(String resourceId) {
			this.resourceId = resourceId;
		}

		public String getResourceType() {
			return this.resourceType;
		}

		public void setResourceType(String resourceType) {
			this.resourceType = resourceType;
		}

		public String getIpPrefixId() {
			return this.ipPrefixId;
		}

		public void setIpPrefixId(String ipPrefixId) {
			this.ipPrefixId = ipPrefixId;
		}

		public String getIpPrefixCidr() {
			return this.ipPrefixCidr;
		}

		public void setIpPrefixCidr(String ipPrefixCidr) {
			this.ipPrefixCidr = ipPrefixCidr;
		}
	}

	@Override
	public GetVSwitchCidrReservationUsageResponse getInstance(UnmarshallerContext context) {
		return	GetVSwitchCidrReservationUsageResponseUnmarshaller.unmarshall(this, context);
	}

	@Override
	public boolean checkShowJsonItemName() {
		return false;
	}
}
